export const serverUrl = process.env.VUE_APP_SERVER_URL;
export const uploadUrl = process.env.VUE_APP_BASE_APITwo + '/common/upload';
export const uploadUrl2 = process.env.VUE_APP_BASE_APITwo + '/masses/common/upload';

// 上传附件配置
export const uploadconfig = {
  // 上传服务器地址，此地址需要替换为你的接口地址（附件和图片共用）
  url: 'https://' + serverUrl + '/node/oa/uploadFile',
  urlModifySign: 'https://' + serverUrl + '/node/oa/modifySign',
  urlModifyAvatar: 'https://' + serverUrl + '/node/oa/modifyAvatar',

  // 允许上传文件格式
  formats: '',
  // 选择文件后是否立即自动上传，true=选择后立即上传
  instantly: true,
  // 文件上传大小限制（单位MB）
  size: 100
}

export const commonRoutes = [
  'renwu',
  'tongzhi',
  'xinxiang',
  'lishigongwen',
  'gongwenshoucang',
  'caigoushenqing',
  'wuzilingyong',
  'qingjia',
  'chuchai',
  'jiaban',
  'lizhiApply',
  'yongyin',
  'yongche',
  'jiayou',
  'huiyishi',
  'kanban',
  'paizuo',
  'qiandao',
  'roleCon',
  'userGroup',
  'approvalInitiateDeclaration',
  'processProjectList',
  'processProgressManagement',
  'processFundManagement',
  'processAcceptanceEvaluation',
  'processProjectChanges',
  'processProblemManagement',
  'processDataManagement',
  'processDataStatistics',
  'projectLibrary',
  'projectForum',
  'documentType'

  // 学习教育
  // "learnEducation",
  // "uploadFile",
]
